package com.ztesoft.huangfu.learning.springboot.springbootssjwt.dao;

import com.ztesoft.huangfu.learning.springboot.springbootssjwt.entity.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Author: huangfu.daohui
 * Date: 2018/6/10
 * Time: 10:36
 * Version: 1.0
 * Description:
 **/
public interface UserDao {

    User findByUsername(String username);

     int save(User user);

    List<User> findAll();
}
